package com.exam.service.impl;

import com.exam.dao.UserPaperMapper;
import com.exam.entity.UserPaper;
import com.exam.service.UserPaperService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author zkw
 * @Description TODO
 * @createTime 2021年04月20日 16:22:00
 */
public class UserPaperServiceImpl implements UserPaperService {
    @Autowired
    UserPaperMapper userPaperMapper;


    /**
     * 根据用户id和试卷id查询用户的试卷答题情况
     * @param userPaper
     * @return
     */
    @Override
    public UserPaper selectUserPaper(UserPaper userPaper) {
        UserPaper userPaper1 = userPaperMapper.selectUserPaper(userPaper);
        return userPaper1;
    }
}
